package com.example.demo.domain.exam.condition;

import com.example.demo.annotation.ConditionOperator;
import com.example.demo.enums.Operator;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class VojObjectiveQuestionCondition {

    @ConditionOperator(name = "title", operator = Operator.Like)
    private String title;

    @ConditionOperator(name = "creator_id", operator = Operator.Equal)
    private Long creatorId;

    @ConditionOperator(name = "create_time", operator = Operator.GreaterThanEqual)
    private Timestamp startTime;

    @ConditionOperator(name = "create_time", operator = Operator.LessThanEqual)
    private Timestamp endTime;

}
